package jnpf.model.ragFlow.file;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "上传文件返回")
public class UpDocumentResp {
    @ApiModelProperty(value = "分块方法", required = true)
    private String chunk_method;

    @ApiModelProperty(value = "创建者ID", required = true)
    private String created_by;

    @ApiModelProperty(value = "数据集ID", required = true)
    private String dataset_id;

    @ApiModelProperty(value = "文档ID", required = true)
    private String id;

    @ApiModelProperty(value = "文档位置")
    private String location;

    @ApiModelProperty(value = "文档名称", required = true)
    private String name;

    @ApiModelProperty(value = "解析器配置", required = true)
    private ParserConfig parser_config;

    @ApiModelProperty(value = "运行状态")
    private String run;

    @ApiModelProperty(value = "文档大小")
    private Integer size;

    @ApiModelProperty(value = "缩略图")
    private String thumbnail;

    @ApiModelProperty(value = "文档类型", required = true)
    private String type;
}


